
<?php include './application/views/top.php'; ?>
<script src="/static/js/gsdai.js"></script>
<script src="/static/js/ajaxfileupload.js"></script>
<script src="/static/js/My97DatePicker/WdatePicker.js"></script>
<script src="/static/js/formCheck.js"></script>

<div class="clear"></div>
<div class="user_bottom all"></div>
<div class="clear h50"></div>
<div class="layout uc">
	<?php include './application/views/user/left.php'; ?>
	<?php
		$sex = $v['sex'];
		$cardType = $v['cardType'];
	?>
	<div class="right">
		<div class="menu_list"><?php include './application/views/user/menu.php'; ?></div>
        <div class="cont">
        	<ul class="tbt">
            	<li class="w168">标题</li>
                <li class="w120">金额(元)</li>
                <li class="w120">年利率</li>
                <li class="w120">期数</li>
                <li class="w150">投标时间</li>
                <li class="w120">投标金额</li>
                <li class="w120 npr">应收利息</li>
			</ul>
            <?php $i=0; foreach($tender_list as $col){?>
        	<ul class="tbc">
            	<li class="w168"><a href="/borrow/obj/<?php echo $col['borrow_id'];?>.html"><?php echo $col['title'];?></a></li>
            	<li class="w120">&yen;<?php echo number_format($col['account'],2);?>元</li>
                <li class="w120"><?php echo $col['apr'];?> %</li>
                <li class="w120"><?php if($col['is_day'] == 1){echo $col['time_limit_day'].'天';}else{echo $col['time_limit'].'个月';};?></li>
                <li class="w150"><?php echo date('Y-m-d H:i:s',$col['add_time']);?></li>
                <li class="w120">&yen;<?php echo number_format($col['account'],2);?>元</li>
                <li class="w120 npr">&yen;<?php echo number_format($col['interest'],2);?>元</li>
			</ul>
        	<?php $i++; }?>
        </div>
        <div class="clear h30"></div>
        <div class="page">
            <div class="pagination">
            <?php echo $this->pagination->create_links();?>
            </div>
        </div>
	</div>
</div>
<div class="clear h50"></div>
<?php include "./application/views/footer.php";?>